/**
 * 由 CoCo 源代码计划解包器解包
 *
 * 模块 ID：243__part-2
 */

"use strict"

import { "243__part-0__r" as r, "243__part-0__o" as o, "243__part-0__i" as i } from "./243__part-0"
var g
import * as /* [auto-meaningful-name] */Animejs from "animejs"
import * as /* [auto-meaningful-name] */$$_$$_5 from "../../5"
import * as /* [auto-meaningful-name] */$$_$$_11 from "../../11"
import * as /* [auto-meaningful-name] */$$_$$_25_index from "../../25/index"
import * as /* [auto-meaningful-name] */$$_$$_729_302 from "../../729/302"
function v(e, t) {
  var n = document.querySelectorAll("#".concat(e, " .radio-widget-button"))[t]
  return n ? [Animejs.default({
    targets: n,
    scale: [{
      value: .95,
      duration: 100
    }, {
      value: 1,
      duration: 200
    }]
  })] : []
}
function b(e, t) {
  var n = document.querySelectorAll("#".concat(e, " .checkbox-widget-box "))[t]
  return n ? [Animejs.default({
    targets: n.querySelector("svg"),
    scale: [.8, 1.2],
    duration: 500
  })] : []
}
g = {}
$$_$$_11.a(g, $$_$$_5.w, r)
$$_$$_11.a(g, $$_$$_5.d, $$_$$_729_302)
$$_$$_11.a(g, $$_$$_5.C, o)
$$_$$_11.a(g, $$_$$_5.g, i)
var y = g
var E = new Map()
function O(e, t, n) {
  w(e)
  var r = y[t]
  if (n && r && n in r) {
    for (var /* [auto-meaningful-name] */arguments$length = arguments.length, i = new Array(arguments$length > 3 ? arguments$length - 3 : 0), s = 3; s < arguments$length; s++) {
      i[s - 3] = arguments[s]
    }
    var c = r[n].apply(r, [e].concat(i))
    E.set(e, [].concat($$_$$_25_index.a(E.get(e) || []), $$_$$_25_index.a(c)))
  }
}
function w(e) {
  var t = E.get(e)
  if (t) {
    t.reverse().forEach(function (e) {
      return e.reset()
    })
  }
  E.set(e, [])
}
export { v as "243__part-2__v" }
export { b as "243__part-2__b" }
export { O as "243__part-2__O" }
export { w as "243__part-2__w" }
